The Transactional Conflict Problem
نویسندگان
چکیده
The transactional conflict problem arises in transactional systems whenever two or more concurrent transactions clash on a data item. While the standard solution to such conflicts is to immediately abort one of the transactions, some practical systems consider the alternative of delaying conflict resolution for a short interval, which may allow one of the transactions to commit. The challenge in the transactional conflict problem is to choose the optimal length of this delay interval so as to minimize the overall running time penalty for the conflicting transactions. In this paper, we propose a family of optimal online algorithms for the transactional conflict problem. Specifically, we consider variants of this problem which arise in different implementations of transactional systems, namely “requestor wins” and “requestor aborts” implementations: in the former, the recipient of a coherence request is aborted, whereas in the latter, it is the requestor which has to abort. Both strategies are implemented by real systems. We show that the requestor aborts case can be reduced to a classic instance of the ski rental problem, while the requestor wins case leads to a new version of this classical problem, for which we derive optimal deterministic and randomized algorithms. Moreover, we prove that, under a simplified adversarial model, our algorithms are constant-competitive with the offline optimum in terms of throughput. We validate our algorithmic results empirically through a hardware simulation of hardware transactional memory (HTM), showing that our algorithms can lead to non-trivial performance improvements for classic concurrent data structures.
منابع مشابه
The Impact of the Training in Transactional Analysis on Emotional Self-Regulation of Female Students who were in Conflict with their Parents
This study was carried out to examine how effective the training in transactional analysis is in the emotional self-regulation of female senior high school students who were in conflict with their parents. This applied, quasi-experimental study had a pretest-posttest control group design. The statistical population of study comprised all senior high school girls in 2017-18 school year in Kamya...
متن کاملThe relationship between transformational and transactional leadership styles with conflict management strategies among Iran futsal pro-leagues coaches
Conflict Management is a leadership interpersonal skill. Using proper leadership styles can lead to effective conflict management. This research aims to study the relationship between transformational and transactional leadership in Bass model (1985) with conflict management strategies in Iran futsal pro-leagues coaches. Coaches leadership style and conflict management strategies were measured ...
متن کاملThe Effectiveness of Transactional Analysis Training in Reducing Parent-Child Conflicts among Male High School Students
This study aimed to investigate the impact of transactional analysis training on parent-child conflicts among male high school students. This quasi-experimental research had a pretest-posttest control group design. The statistical population of the study was comprised of all male first graders of high school in Central Marhamat Abad district, West Azerbaijan Province, in school year 2014-15. Th...
متن کاملتأثیر آموزش تحلیل ارتباط محاورهای Berne بر بهبود عملکرد والدین دانشآموزان پسر دوره متوسطه شهر رفسنجان
Background and Objectives: The happiness and felicity of every person to a large extent is related to his/her communication with others. The purpose of this study was to investigate the effectiveness of transactional analysis training on the parent's function of high school boy students in Rafsanjan in 2009. Materials and Methods: This experimental study was performed on 40 parents of high ...
متن کاملConflict Detection and Validation Strategies for Software Transactional Memory
In a software transactional memory (STM) system, conflict detection is the problem of determining when two transactions cannot both safely commit. Validation is the related problem of ensuring that a transaction never views inconsistent data, which might potentially cause a doomed transaction to exhibit irreversible, externally visible side effects. Existing mechanisms for conflict detection va...
متن کامل